//银行代码
import request from '@/utils/request'

// 查询银行代码列表
export function listSwiper(query) {
  return request({
    url: '/admin/system/baselink/list',
    method: 'get',
    params: query
  })
}

// 轮播图修改
export function editBaselink(data) {
  return request({
    url: '/admin/system/baselink/update',
    method: 'post',
    data
  })
}

// 新增轮播图
export function addBaselink(data) {
  return request({
    url: '/admin/system/baselink/add',
    method: 'post',
    data
  })
}

// 删除轮播图
export function removeBaselink(data) {
  return request({
    url: '/admin/system/baselink/del',
    method: 'post',
    data
  })
}